package calcmaster.calculator;

import java.util.List;

import calcmaster.calculator.exceptions.CalculationException;
import calcmaster.calculator.exceptions.ExpressionOptimizationException;

public interface Calculator {
	double calculate(String expression, double x) throws CalculationException;
	List<Double> calculateAll(String expression, List<Double> xList) throws CalculationException;
	String optimizeExprssion(String expression) throws ExpressionOptimizationException;
}
